<?php
// +----------------------------------------------------------------------
// | [ DO WHAT YOU LOVE AND FUCK THE REST ]
// +----------------------------------------------------------------------
// | Author 荒年 < 931274989@qq.com >
// +----------------------------------------------------------------------
// | Explain 手机号验证
// +----------------------------------------------------------------------
namespace app\admin\validate;

class Phone extends BaseValidate
{
  protected $rule = [
    'phone' => 'require|isMobile',
  ];

  protected $message = [
    'phone.require' => '手机号码不能为空',
    'phone.isMobile' => '手机号码格式不正确',
  ];

}
?>